<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改附件审核意见信息')" />
    <th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-CheckFileOpinion-edit" th:object="${crCheckfileopinion}">
            <input name="checkid" th:field="*{checkid}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">审核文件名称：</label>
                <div class="col-sm-8">
                    <input name="chekfilename" th:field="*{chekfilename}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">审核结果：</label>
                <div class="col-sm-8">
                    <input name="checkresult" th:field="*{checkresult}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">审核人：</label>
                <div class="col-sm-8">
                    <input name="checkuser" th:field="*{checkuser}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">审核时间：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                        <input name="checkdt" th:value="${#dates.format(crCheckfileopinion.checkdt, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text">
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">审核意见：</label>
                <div class="col-sm-8">
                    <input name="checkopinion" th:field="*{checkopinion}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">审核附件对象：</label>
                <div class="col-sm-8">
                    <input name="checkfile" th:field="*{checkfile}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">附件审核意见外键：</label>
                <div class="col-sm-8">
                    <input name="objectid" th:field="*{objectid}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: datetimepicker-js" />
    <script type="text/javascript">
        var prefix = ctx + "supervise/CheckFileOpinion";
        $("#form-CheckFileOpinion-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-CheckFileOpinion-edit').serialize());
            }
        }

        $("input[name='checkdt']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });
    </script>
</body>
</html>